<?php use_helper('Date') ?>
<?php use_helper('Text') ?>
<?php slot('title', "拍卖专题 - ") ?>
<!--导航-->
<div class="menu" id="topmenu">
  <ul>
    <li class="current"><?php echo link_to('首页', '@homepage'); ?></li>
    <li><?php echo link_to('艺海简介', '@html_about'); ?></li>
    <li><?php echo link_to('拍卖预告', '@article_category?catid=3'); ?></li>
    <li><?php echo link_to('艺海资讯', '@article'); ?></li>
    <li><?php echo link_to('精彩照片', '@album'); ?></li>
    <li><?php echo link_to('艺海视频', '@video'); ?></li>
    <li class="clear_bg"><?php echo link_to('业务联系', '@message'); ?></li>
  </ul>
</div>
<!--主内容-->
<div class="sale clearfix">
   <div class="sale_left">
      <div class="sale_title"><h3>拍卖专题</h3></div>
      <div class="sale_cont">
		  <ul>
		  <?php foreach (@$specials as $special): ?>
          <li><span><?php echo format_date($special->getCreatedAt(), 'yyyy-MM-d') ?></span><a href="<?php echo url_for('topic/show?id='.$special->getId()) ?>"><?php echo $special->getName(); ?></a></li>
		  <?php endforeach ?>
		 </ul>
      </div>
      
      <!--页码-->
      <div>
         <div class="sale_pagesize">
		  <?php include_partial('topicPager/pager', array(
          'pager' => $pager,
          'route' => 'topic'
        )) ?>
        </div>
      </div>
   </div>
   
   <div class="sale_right">
      <a href="#"><img src="/images/ad1.jpg" width="285" height="110" alt="" /></a>
      <div class="sale_topics_title"><span><a href="<?php echo url_for('@article_category?catid='.$yugaoid) ?>">更多</a></span><h3>拍卖预告<em> >></em></h3></div>
      <div class="sale_topics_cont">
          <ul><?php foreach ($yugaos as $yugao): ?>
             <li><a href="<?php echo url_for('article/show?id='.$yugao->getId()) ?>"><?php echo $yugao->getTitle() ?></a></li>
			<?php endforeach ?> 
          </ul>
      </div>
   </div>
</div>
